package com.haste.common.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author haste
 */
@EqualsAndHashCode(callSuper = true)
@TableName("t_desktop_menus")
@Data
public class BaseMenuPo extends BasePo{
    @TableId("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("icon_url")
    private String iconUrl;

    @ApiModelProperty(value = "图标类型", example = "1")
    @TableField("icon_type")
    private String iconType;

    @TableField("link_url")
    private String linkUrl;

    @TableField("open_model")
    private String openModel;

    @TableField("ancestor")
    private String ancestor;

    @TableField("type")
    private Integer type;
}
